#ifndef FUZZY_GRAPH_H
#define FUZZY_GRAPH_H
#include "plot.h"
#include <QtGui>
#include <QWidget>

class FuzzyGraph : public Plot
{
    Q_OBJECT
public:
    FuzzyGraph(QWidget *parent);

public slots:

    void plotGraph();

    void setLowX0(int value);
    void setLowX1(int value);
    void setLowX2(int value);
    void setLowX3(int value);

    void setMediumX0(int value);
    void setMediumX1(int value);
    void setMediumX2(int value);
    void setMediumX3(int value);

    void setHighX0(int value);
    void setHighX1(int value);
    void setHighX2(int value);
    void setHighX3(int value);

private:

    double lowX[4];
    double mediumX[4];
    double highX[4];

    QwtPlotCurve *lowPlot;
    QwtPlotCurve *mediumPlot;
    QwtPlotCurve *highPlot;

};

#endif // FUZZY_GRAPH_H
